  delphi7.0   
  //ýӿڰ汾 λڶ̬ VKYMRF.dll ,⻹֧dllļṩĵпdllļԼĿ¼¼

    //˿Ϣ
    function GetGuestCardinfovy(usbflag:integer;dlscoid:integer;carddata,lockinfo:pchar):Integer; stdcall ;
   external usbcom;
      ˵ usbflag usbͨŹܵ 12dlscoid Ƶʶcarddata, صĿƬݣlocknoinfo  صĽܿƬݣ
     0ʾóɹ

   //þƵʶ
    function Getcoidvy(usbflag:integer;Coid:pchar):integer; stdcall ;
    external usbcom;
        ˵ usbflag usbͨŹܵ 12Coid صľƵ ʶݣ
         0ʾóɹ

    //עƬ
    function CardErasevy(usbflag:integer;dlsCoID:Integer;cardbuf:pchar):Integer; stdcall;
    external usbcom;
       ˵ usbflag usbͨŹܵ 12dlscoid ƵʶcardbufصĿƬݣ
        0ʾóɹ


    //
    function Buzzervy(usbflag:integer;bt:Byte):integer; stdcall ;
    external usbcom;
   ˵ usbflag usbͨŹܵ 12btʱ Ƽ2050Χ


    //57id  ܺôԽʱ򣬿ԸݹIDȡӦķţʱ䣬ʱ䣬ԼݿⱣͶȡչȯͣʹ
    Function ReadCardID_T5557vy( usbflag:integer;bufr:pchar):integer;stdcall ;
    external usbcom;
      ˵ usbflag usbͨŹܵ 12bufr ֻT5557ʹãصĹid16ַ
      0ʾóɹ


   // д˿
    Function writeguestcardvy(usbflag:integer;dlsCoID:Integer;cardno:integer;dai:integer;llock:byte;etime:pchar;lockid:pchar;p:pchar):integer;stdcall;
    external usbcom;
      ˵ usbflag usbͨŹܵ 12
                          dlscoid Ƶʶ
                           cardno:   ˮţ0..15ѭ
                                  daiǰ־ 0..255ѭÿŶӦĶҪαǰĿ1
                                           ǰһſһ£ԵʱҪ浽ݿУ
                               llock: Ƿ񿪷־1ʾԿ0ʾԿܣ
                              etimeЧڣʱ֣ռ2λ
                           lockidţ6λַעŲǷƺţƺŶӦĵַһпԲѯ߿ԵݸԽԱʹ
                        p صĿƬݣ
                         0ʾóɹ

ϸĵ÷Բοṩԭʼ룻